package com.example.detail;

import java.io.Serializable;

/**
 * @author ：songxusheng
 * @description：用户实体
 * @date ：Created in 2022/5/13 17:15
 * @version:
 */

public class User implements Serializable {
    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
